#include <iostream>
#include <string>
#include <string.h>
#include <stdio.h>
using namespace std;
int main()
{
    string name[] = {"zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"};
    char num[105];
    scanf("%s", num);
    int sum = 0;
    for (int i = 0; num[i] != '\0'; i++)
    {
        sum += num[i] - '0';
    }
    if(sum == 0)
    {
        cout << "zero";
        return 0;
    }
    int stack[10], top = 0;
    while (sum)
    {
        stack[top++] = sum % 10;
        sum /= 10;
    }
        cout << name[stack[--top]];
    while (top)
    {
        cout << " " << name[stack[--top]];
    }
    return 0;
}